/**************************************************************************
Background colour, fonts, margins, all are done here
**************************************************************************/
body {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 15px;
	background-color: #FFFFFF;
}

/**************************************************************************
All the goodness of links
**************************************************************************/	
a:link, a:visited, a:active {
	color: #ff090a;
	text-decoration: none;
}

/**************************************************************************
Need I comment?
**************************************************************************/
a:hover {
	text-decoration: underline;
	color: #ff090a;
}


/**************************************************************************
This is the giant white box that holds everything together
**************************************************************************/
#thebox {
	width: 75%;
	background-color: white;
	color: #666;
	border: 1px #cccccc solid;
	margin: 50px auto 0 auto;
	padding: 0 20px 0 20px;
	overflow: auto;
	min-height: 427px;
}

/**************************************************************************
This was the best way I thought they orange square logo thingy could be 
displayed. The logo coding looks really messy and rather horrible. I'm sure 
there are better ways of doing this. Please drop me a line if you know how.
**************************************************************************/
#logo {
	text-align: center;
	width: 190px;
	margin: 0 5px 30px -10px;
	padding: 30px 10px 5px 10px;
	background-color: #ff090a;
	color: #FFFFFF;
	font-family: Calibri, sans-serif;
	font-weight: normal;
	font-size: 25px;
	letter-spacing: 1px;
	/*text-transform: uppercase;*/
}

/**************************************************************************
Navigation bar, lists, and links - Uses Gill Sans for the good ol' Mac. 
I'm using different linking styles for the navigation bar. Also, <li> tags 
are used.
**************************************************************************/
#nav {
	width: 700px;
	margin: -50px 0 50px 200px;
	padding: 0 0 0 0;
	color: #999;
	font-family: Calibri, sans-serif;
	font-weight: bold;
	font-size: 15px;
}

#nav li {
	font-size: 20px;
	list-style: none;
	font-weight: bold;
	display: inline;
	margin-right: 25px;
}

#nav a {
	font-size: 20px;
	font-weight: bold;
	color: #999;
	text-decoration: none;
}

#nav a:hover, a:active {
	font-size: 20px;
	color: #ff090a;
	text-decoration: none;
	font-weight: bold;
}


/**************************************************************************
The content - full of goodness and textaulity, hehe.
**************************************************************************/
#content {
	color: #666;
	font-family: Helvetica, Verdana, sans-serif;
	margin: 0 0 0 0;
	padding: 0 10px 10px 10px;
	overflow: auto;
}

/**************************************************************************
Header #1 - This header displays the topic name of text
**************************************************************************/
#content h1 {
	font-size: 25px;
}

#content h1 a:link, a:visited, a:active {
	color: #ff090a;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	font-weight: normal;
}

#content h1 a:hover {
	text-decoration: underline;
	font-family: 'Gill Sans', Verdana, Helvetica, sans-serif;
	color: #ff090a;
}

/**************************************************************************
Header #2 - This header displays the date
**************************************************************************/

#content h2 { 
	font-size: 15px;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.grid-container{
	text-align: left;
	display: grid ;
    grid-template-columns: auto 250px;
    grid-gap: 20px;
}
.posts {
	text-align: left;
	overflow: auto;
}
/*.posts {
	box-shadow: 0 5px 30px #E3E7EB;
}*/


 .posts h2{
	font-size: 15px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #ff090a;
	font-weight: bold;
	background: #eeeeee;
	border-bottom: 5px #888888 solid;
	border-left: 5px #888888 solid;
	padding: 5px;

}
.posts h2 a{
	font-weight: bold;
	font-size: 15px;
 }
#date{
	color: #999999;
	font-size:10px;
}
p {
	text-align: left;

}
/*#snippet{
	text-align: justify-all;
}*/

a {
	font-size:15px;
	line-height: 0.2;
}
.side {
	color: #666;
	text-align: left;
	padding-left: 10px;
	padding-top: 5px;
	float: right;

}
.side li{
	margin: 0;
	display: list-item;
	list-style: square;
}

#foot {
	text-align: center;
	color: #696969;
}

table, th, td {
  border: 2px;
  border-collapse: collapse;
	text-align: left;
}

th, td {
  	border-color: #000000;
	border-style: solid;
	padding: 5px;
}

.loginbtn {
	border-radius: 12px;
	border-color: #ff090a;
	border-style: solid;
	font-size: 16px;
	background-color: #FFFFFF;
	padding: 17px 20px;
  	text-align: center;
  	text-decoration: none;
  	display: inline-block;
	align-content: center;
}

.login-center {
	align-content: center;
	margin: auto;
	width: 50%;
	padding: 10px;
	border-radius: 12px;
	border-color: #ff090a;
	border-style: solid;
	text-align: center;
}
.login_bar {
	font-size: 9px;
	float: right;
	text-align: right;
	width: 5%;
}
 #myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
  bottom: .5em;
}

.table-container {
  position: relative;
  max-height: 600px;
  overflow-y: auto;
}
.table-container table thead th {
  position: sticky;
  top: 0;
  background-color: #f8f9fa;
  z-index: 2;
}
